package cn.bgs.dao;

import cn.bgs.pojo.Lian;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserMapper {
    Lian login(@Param("name") String name,@Param("password") String password);

    List<Lian> findAll();

    Lian findById(Integer id);

    void update(Lian lian);


    List<Lian> QueryLian(String name);

    Map<Integer, Lian> QueryLianBirthday(String birthday);
}
